From c139b7ee789c92f6b3a62effbf218fab28d38c59 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 10 Oct 2006 16:02:30 +0100 Subject: [PATCH] [XEND] Add missing line from changeset 11653:3b7e11cbeb940 Signed-off-by: Keir Fraser --- tools/python/xen/util/blkif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/util/blkif.py b/tools/python/xen/util/blkif.py index ba42d826cc..06d5e166a1 100644 --- a/tools/python/xen/util/blkif.py +++ b/tools/python/xen/util/blkif.py @@ -63,7 +63,7 @@ def blkdev_uname_to_file(uname): """Take a blkdev uname and return the corresponding filename.""" fn = None if uname.find(":") != -1: - (typ, fn) = uname.split(":") + (typ, fn) = uname.split(":", 1) if typ == "phy" and not fn.startswith("/"): fn = "/dev/%s" %(fn,) if typ == "tap": -- 2.30.2